/* CSS reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td { 
	margin:0;
	padding:0;
}
html,body {
	margin:0;
	padding:0;
}
table {
	border-collapse:collapse;
	border-spacing:0;
}
fieldset,img { 
	border:0;
}
/*input{
	border:1px solid #b0b0b0;
}*/
address,caption,cite,code,dfn,th,var {
	font-style:normal;
	font-weight:normal;
}
ol,ul {
	list-style:none;
}
caption,th {
	text-align:left;
}
h1,h2,h3,h4,h5,h6 {
	font-size:100%;
	font-weight:normal;
}
q:before,q:after {
	content:'';
}
abbr,acronym { border:0;
}
/* General Demo Style */
body{
    background:#f9f9f9 url(../images/stucco.png) repeat top left;
	color: #333;
	font-family: 'Oswald', Arial, sans-serif;
	font-size: 13px;
}
.container{
	position:relative;
}
a{
	color: #fff;
	text-decoration: none;
}
.clr{
	clear: both;
}
.content{
	position:relative;
    width:680px;
    margin: 0 auto;
}
h1{
	margin:0px;
	padding:20px 20px 10px 20px;
	font-size:34px;
	color:#333;
    text-shadow:1px 1px 1px #fff;
	text-align:left;
	font-weight:400;
    text-align:center;
}
h1 span{
    display:block;
	font-size: 14px;
    font-family: Georgia, serif;
    font-style: italic;
	color:#aaa;
	padding-top:10px;
}
/* Header Style */
.header{
	font-family:'Arial Narrow', Arial, sans-serif;
	line-height: 9px;
	font-size: 11px;
	background: #000;
	opacity: 0.9;
	/*z-index: 9999;*/
	position: relative;
	-moz-box-shadow: 1px 0px 2px #000;
	-webkit-box-shadow: 1px 0px 2px #000;
	box-shadow: 1px 0px 2px #000;
}
.header a{
	padding: 0px 10px;
	letter-spacing: 1px;
	color: #ddd;
	display: block;
	float: left;
}
.header a:hover{
	color: #fff;
}
.header span.right{
	float: right;
}
.header span.right a{
	float: none;
	display: inline;
}
.more{
	position:relative;
	clear:both;
	font-family:'Arial Narrow', Arial, sans-serif;
    font-size: 12px;
    padding: 5px 0px 10px;
    width: 372px;
    margin: 0 auto;
}
.more ul{
	display:block;
	text-align:center;
    height: 30px;
}
.more ul li{
	display: block;
    padding: 4px 2px;
    float:left;
}
.more ul li.selected a,
.more ul li.selected a:hover{
	background:#aaa;
	color:#fff;
	text-shadow:none;
}
.more ul li a{
	color:#555;
    float:left;
	background:#fff;
    width:auto;
	padding: 2px 5px;
	-moz-box-shadow:1px 1px 2px #aaa;
	-webkit-box-shadow:1px 1px 2px #aaa;
	box-shadow:1px 1px 2px #aaa;
}
.more ul li a:hover{
	background:#000;
	color:#fff;
}
.button-wrapper{
	width: 320px;
	margin: 0 auto;
    padding: 20px 0;
}
.button-wrapper-large{
	width:500px;
	margin: 0 auto;
    padding: 20px 0;
	height: 80px;
}

/*----------------------------
	CSS3 Animated Navigation
-----------------------------*/
nav{
	display: block;
	margin: 0px auto 0;
	text-align: center;
	width: 99.2%;
}

.fancyNav{
	/* Affects the UL element */
	overflow: hidden;
	display: inline-block;
}

.fancyNav li{
	/* Specifying a fallback color and we define CSS3 gradients for the major browsers: */
	
	background-color: #000;
	background-image: -webkit-gradient(linear,left top, left bottom,from(#000), color-stop(0.5,#000), color-stop(0.51, #000));
	background-image: -moz-linear-gradient(#000 0%, #000 50%, #000 51%);
	background-image: -o-linear-gradient(#000 0%, #000 50%, #000 51%);
	background-image: -ms-linear-gradient(#000 0%, #000 50%, #000 51%);
	background-image: linear-gradient(#000 0%, #000 50%, #000 51%);
	
	border-right: 1px solid #ccc);
	
	/* Adding a 1px inset highlight for a more polished efect: */
	
	box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
	-moz-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
	-webkit-box-shadow: 1px -1px 0 rgba(255, 255, 255, 0.6) inset;
	
	position:relative;
	
	float: left;
	list-style: none;
}

.fancyNav li:after{

	/* This creates a pseudo element inslide each LI */	
	
	content:'.';
	text-indent:-9999px;
	overflow:hidden;
	position:absolute;
	width:100%;
	height:100%;
	top:0;
	left:0;
	z-index:1;
	opacity:0;
	
	/* Gradients! */
	
	background-image:-webkit-gradient(linear, left top, right top, from(rgba(168,168,168,0.5)),color-stop(0.5,rgba(168,168,168,0)), to(rgba(168,168,168,0.5)));
	background-image:-moz-linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	background-image:-o-linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	background-image:-ms-linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	background-image:linear-gradient(left, rgba(168,168,168,0.5), rgba(168,168,168,0) 50%, rgba(168,168,168,0.5));
	
	/* Creating borders with box-shadow. Useful, as they don't affect the size of the element. */
	
	box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
	-moz-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
	-webkit-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff,1px 0 0 #a3a3a3,2px 0 0 #fff;
	
	/* This will create a smooth transition for the opacity property */
	
	-moz-transition:0.25s all;
	-webkit-transition:0.25s all;
	-o-transition:0.25s all;
	transition:0.25s all;
}

/* Treating the first LI and li:after elements separately */

.fancyNav li:first-child{
	border-radius: 0px 0 0 0px;
}

.fancyNav li:first-child:after,
.fancyNav li.selected:first-child:after{
	/*box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
	-moz-box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
	-webkit-box-shadow:1px 0 0 #a3a3a3,2px 0 0 #fff;
	
	border-radius:0px 0 0 0px;*/
}

.fancyNav li:last-child{
	border-radius: 0 4px 4px 0;
}

/* Treating the last LI and li:after elements separately */

.fancyNav li:last-child:after,
.fancyNav li.selected:last-child:after{
	box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
	-moz-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
	-webkit-box-shadow:-1px 0 0 #a3a3a3,-2px 0 0 #fff;
	
	border-radius:0 4px 4px 0;
}

.fancyNav li:hover:after,
.fancyNav li.selected:after,
.fancyNav li:target:after{
	/* This property triggers the CSS3 transition */
	opacity:1;
}

.fancyNav:hover li.selected:after,
.fancyNav:hover li:target:after{
	/* Hides the targeted li when we are hovering on the UL */
	opacity:0;
}

.fancyNav li.selected:hover:after,
.fancyNav li:target:hover:after{
	opacity:1 !important;
}

/* Styling the anchor elements */

.fancyNav li a{
	color: #fff;
	display: inline-block;
	font: 20px/1 Lobster,Arial,sans-serif;
	padding: 4px 65px 10px;
	position: relative;
/*	text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.6);*/
	z-index:2;
	text-decoration:none !important;
	white-space:nowrap;
}

.fancyNav a.homeIcon{
	background:url('../img/home.png') no-repeat center center;
	display: block;
	overflow: hidden;
	padding-left: 12px;
	padding-right: 12px;
	text-indent: -9999px;
	width: 16px;
}


/*----------------------------
	CSS3 MIDDLE HEADER
-----------------------------*/
#main-nav {
    float: left;
    position: relative;
	margin-top:0px;
	margin-left:0px;
	background:#FFFFFF;
	padding:5px;
}

nav ul, nav ol {
    list-style: none outside none;
    margin: 0;
    padding: 0;
}

#main-nav ul li:first-child {
    margin-left: 0;
}
#main-nav ul li {
    float: left;
    margin: 0 0 0 2px;
    position: relative;
    width: 60px;
}

#main-nav ul li a {
    background-color: #555555;
    background-repeat: repeat;
    border: medium none;
    border-radius: 30px;
    color: rgba(255, 255, 255, 0.9);
    display: block;
    font: 20px/20px "Bistro-Script-Web",Helvetica,sans-serif;
    height: 0;
    opacity: 0.9;
    padding: 0px 0 39px;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
    text-transform: none;
    transition: color 0.3s ease-out 0s, background 0.3s ease-out 0s, box-shadow 0.3s ease-out 0s;
    width: 67%;
    z-index: 10;
}

#main-nav ul li span {
    background: none repeat scroll 0 0 rgba(85, 85, 85, 0.2);
    border-radius: 40px;
    content: "";
    display: block;
    height: 48px;
    left: -4px;
    position: absolute;
    top: -4px;
    transition: background 0.3s ease-out 0s, box-shadow 0.3s ease-out 0s;
    width: 48px;
    z-index: -1;
}

#main-nav ul li a:hover{
background-color:#000;
box-shadow:0 0 1px #8f2d2d;
color:rgba(255, 255, 255, 0.9);
}

/*----------------------------
	CSS Main Container
-----------------------------*/

#container{width:100%; float:left; min-height:400px;}


/*----------------------------
	CSS Footer
-----------------------------*/

#footer{width:100%; float:left;}
#footer_in{width:100%; float:left;}
#msg-board{background:#ccc; float:left; width:99.3%; padding:5px;}

#msg-display-section{width:100%; float:left;}


/*FOOTER_NAV************************************************/

ul#main-nav-footer {
    margin-left: 20px;
	margin-top:2px;
}
ul#main-nav-footer  li {
    float: left;
    position: relative;
    margin-left: -20px;
    display: inline;
}


ul#main-nav-footer li a {
    position: relative;
    width: 110px;
    height: 23px;
    display: block;
    background-image:url('../images/tabs.png');
    background-position: center center;
    color: #44403b;
    text-decoration: none;
    font-size: 12px;
    padding-top: 3px;
    text-align: left;
    padding-left: 22px;
   /* font-weight: bold;*/
}
ul#main-nav-footer li.home a {
    background-image: url('../images/tab-home.png');
}
ul#main-nav-footer li.current a {
    background-position: top;
    color: #ffffff;
}
ul#main-nav-footer li a:hover {
    background-position: bottom;
    color: #ffffff;
}
ul#main-nav-footer li.current a:hover {
    background-position: top; /*To Prevent the Current tab from changing colour on hover*/
    color: #ffffff;
}

ul#main-nav-footer li.current {
    z-index: 100;
}
ul#main-nav-footer li.home {
    z-index: 100;
}
ul#main-nav-footer li.portfolio {
    z-index: 99;
}
ul#main-nav-footer li.services {
    z-index: 98;
}
ul#main-nav-footer li.about {
    z-index: 97;
}
ul#main-nav-footer li.contact {
    z-index: 96;
}

#image {
	position: relative;
	float: left;
	margin-left: 40px;
	margin-top: 25px;
}
#featured {
	position: relative;
	background-color: #577295;
	background-image: url('../images/featured-border.jpg');
	background-repeat: repeat-y;
	background-position: left;
	height: 200px;
	color: #ffffff;
}
#featured h1 {
	font-size: 24px;
	position: relative;
	margin-bottom: 17px;
}
#featured p {
	line-height: 18px;
	font-size: 12px;
}

#featured-content{
	float: left;
	position: relative;
	width: 97%;
	margin-top: 30px;
	margin-left: 35px;
	display: inline;
}

.footer-bottom{width:100%; float:left; background:#8da4d4;}

#footer-bottom-menu{width:98%; float:left; padding:2px 10px;}


<!------------POPUP CSS START--------------->

<!-------POPUP FORM CSS---------->
<style>

#login {
	margin: 50px auto;
	width: 400px;
}

#login h2 {
	background-color: #000 ;
	-webkit-border-radius: 20px 20px 0 0;
	-moz-border-radius: 20px 20px 0 0;
	border-radius: 20px 20px 0 0;
	color: #fff;
	font-size: 28px;
	padding: 10px 0px;
	margin:0px;
}

#login h2 span[class*="fontawesome-"] {
	margin-right: 14px;
}

#login fieldset {
	background-color: #fff;
	-webkit-border-radius: 0 0 20px 20px;
	-moz-border-radius: 0 0 20px 20px;
	border-radius: 0 0 20px 20px;
	padding: 20px 21px;
}

#login fieldset p {
	color: #777;
	margin-bottom: 14px;
	text-align:left;
}

#login fieldset p:last-child {
	margin-bottom: 0;
}

#login fieldset input {
	-webkit-border-radius: 3px;
	-moz-border-radius: 3px;
	border-radius: 3px;
}

#login fieldset input[type="text"], #login fieldset input[type="password"] {
	background-color: #eee;
	color: #777;
	padding: 4px 10px;
	width: 328px;
}

#login fieldset input[type="submit"] {
	background-color: #33cc77;
	color: #fff;
	display: block;
	margin: 0 auto;
	padding: 4px 0;
	width: 100px;
}

#login fieldset input[type="submit"]:hover {
	background-color: #28ad63;
}
</style>

<!-------------POPUP CSS END---------------->

